// utils/user.js
import request from '../request/request'; // 引入上面创建的axios实例

export function PwdLogin(data) {
    return request({
        url: '/system/auth/login',
        method: 'post',
        data
    })
}
export function queryUserInfo(id) {
    return request({
        url: '/system/user/get/norole?id='+id,
        method: 'get'
    })
}

export function mobileLogin(data) {
    return request({
        url: '/system/auth/sms-login',
        method: 'post',
        data
    })
}
export function logouts(data) {
    return request({
        url: '/system/auth/logout',
        method: 'post'
    })
}
